<template>
  <avue-crud ref="crud" :option="optionCrudRowShow" :data="dataCrudRowShow" @expand-change="expandChangesCrudRowShow">
    <template slot="expand" slot-scope="{row}">
      <el-row :gutter="10">
        <el-col :span="8" v-for="(item2,index2) in dataCrudRowShowDetail" :key="index2">
          <div class="wordEllipsis"><span>{{item2.dataCrudRowShowDetailKey}}：</span><span
            :title=item2.dataCrudRowShowDetailValue>{{item2.dataCrudRowShowDetailValue}}</span></div>
        </el-col>
      </el-row>
    </template>
  </avue-crud>
</template>

<script>
  export default {
    name: 'table-page-row-show',
    props: ['optionCrudRowShow', 'dataCrudRowShow', 'dataCrudRowShowDetail'],
    data () {
      return {}
    },
    methods: {
      expandChangesCrudRowShow (row, expendList) {
        this.$emit('expandChangesCrudRowShow', row, expendList)
      }
    }
  }
</script>

<style scoped>

</style>
